package annotation.test2;
//串讲步骤3: 创建Fish类,并添加注解
/**
 * @author 甘赵辉
 * @date 2023/2/28
 */
@Bean("fish")
public class Fish {
    public void eat(){
        System.out.println("鱼吃蚯蚓");
    }
}
